package com.kikidao.app.testclasses.containerconfig;

import com.container.app.MContainer;
import com.container.app.MContainerConfiguration;
import com.container.app.annotations.InstanceTag;
import com.container.app.utilities.Pair;
import com.datalayer.orm.MyORM;
import com.datalayer.orm.ORM;
import com.kikidao.app.dao.DAOProperty;

/**
 * Created with IntelliJ IDEA.
 * User: Georgiana.Scarlat
 * Date: 7/23/12
 * Time: 4:28 PM
 */
public class UserAccountConfiguration extends MContainerConfiguration {

    public UserAccountConfiguration(MContainer container) {
        super(container);
    }

    @Override
    public void configure() {

        addMapping(ORM.class, null, MyORM.class);
        addMapping(DAOProperty.class, new Pair<Class, String>(InstanceTag.class, "property"), new DAOProperty("mydb"));

    }
}
